package com.oyjd.ybx.bean.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * 文章浏览量记录表实体
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
@Entity
@Table(name = "T_MSG_COUNT")
public class MsgCount implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 7703217815072837524L;

	/**
	 * 逻辑ID
	 */
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name = "ID", length = 32)
	private String id;

	/**
	 * 资讯ID
	 */
	@Column(name = "MSG_ID", length = 32)
	private String msgId;

	/**
	 * IP时间KEY
	 */
	@Column(name = "IP_TIME", length = 30)
	private String ipTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMsgId() {
		return msgId;
	}

	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}

	public String getIpTime() {
		return ipTime;
	}

	public void setIpTime(String ipTime) {
		this.ipTime = ipTime;
	}

}